package com.ethan.base;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ethan
 * create 2018-07-27 下午9:12
 * desc
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class People {
    private String name;
    private int age;
    public void speak(){
        System.out.println(this.name+",我今年:"+this.age+"岁");
    }
}
